from setuptools import setup
import sys, os
from shutil import copy

version="0.9"
setup(name="sqpyfia",
version=version,
description="sqPyfia",
packages=["src"],
package_dir={"eggs":"src"},
entry_points="""
[pysqlin.plugins]
plugin =  src.pysqpyfia:PluginSqpyfia
"""
)

# copy egg file to the deployment directory in the svn structure
copy("dist/sqpyfia-%s-py%d.%d.egg" % (version,sys.version_info[0],sys.version_info[1]), "../../plugins/auxiliary/scanner/")
